package com.wanxi.education.model.vo.course;

import com.wanxi.education.model.vo.advertandcertificate.ClassificationForCourseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author: WangRui
 * @Description:
 * @Date: Created in 2021/9/24 0024
 * @Version: 1.0
 */
@Data
@ApiModel(value = "课程基础信息修改vo类")
public class CourseBasicVo {

    @ApiModelProperty(value = "主键id")
    private Long id;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题",required = true)
    private String title;

    /**
     * 证书分类id
     */
    @ApiModelProperty(value = "证书分类id")
    private Long ccieId;

    /**
     * 证书分类详情vo
     */
    @ApiModelProperty(value = "证书分类详情vo")
    private ClassificationForCourseVo certificateNameVos;

    /**
     * 主图uri
     */
    @ApiModelProperty(value = "主图uri",required = true)
    private String picture;

    /**
     * 价格
     */
    @ApiModelProperty(value = "价格",required = true)
    private BigDecimal price;

    /**
     * 老师姓名
     */
    @ApiModelProperty(value = "老师姓名")
    private String teacher;

    /**
     *权重，默认为0，权重不为0的时候首页显示在最前
     */
    @ApiModelProperty(value = "权重")
    private Long weight;

    /**
     *操作人id 前端不用传
     */
    @ApiModelProperty(value = "操作人id 前端不用传")
    private Long adminId;

}
